package com.yuxinmuyu.sports_management.bean.entiy;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("s_student")
public class SStudent implements Serializable {

    @ApiModelProperty("学号")
    @TableId("StuID")
    private String stuID;

    @ApiModelProperty("入学年份")
    private String entryYear;

    @ApiModelProperty("班级ID")
    private String classID;

    @ApiModelProperty("专业ID")
    private String majorID;

    @ApiModelProperty("学院ID")
    private String deptID;

    @ApiModelProperty("学生姓名")
    private String studName;

    @DateTimeFormat(pattern = "yyyy-MM-dd ")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty("生日")
    private Date studBirth;

    @ApiModelProperty("性别")
    private String studSex;

    @ApiModelProperty("联系电话")
    private String phoneNumber;

    @ApiModelProperty("电子邮箱")
    private String email;

    @ApiModelProperty("国籍")
    private String studNation;

    @ApiModelProperty("籍贯")
    private String studNative;

    @ApiModelProperty("身份证号")
    private String iDCard;

    @ApiModelProperty("学生备注")
    private String studMemo;

    @ApiModelProperty("操作时间")
    private Date lastDate;

    @ApiModelProperty("操作人")
    private String operator;

    @ApiModelProperty("在校状态")
    private String studState;

}
